/**
 * Copyright 2009-2010 - YangJiandong(chunquedong)
 * 
 * This file is part of ChunMap project
 * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE(Version >=3)
 * 你可以自由复制、传播本项目的下载包文件，但必须保持其完整性。
 * 我们不用对使用中的风险及由此造成的损失承担任何责任。
 * 详细情况请见《ChunMap许可协议》。

 * 想了解更多有关ChunMap的信息，请访问http://code.google.com/p/chunmap/
 */
package chunmap.model.operate.overlay;

import chunmap.model.geom.LineString;

/**
 * @author chunquedong
 * 
 */
class Fragment {

	public static final int Inner = 0;
	public static final int Border = 1;
	public static final int Outer = 2;

	private LineString lineString;
	private int containIn;
	private boolean flag;

	public LineString getLineString() {
		return lineString;
	}

	public void setLineString(LineString lineString) {
		this.lineString = lineString;
	}

	public int isContainIn() {
		return containIn;
	}

	public void setContainIn(int containIn) {
		this.containIn = containIn;
	}

	public boolean isFlag() {
		return flag;
	}

	public void setFlag(boolean flag) {
		this.flag = flag;
	}

	@Override
	public String toString() {
		return "Fragment [containIn=" + containIn + ", lineString="
				+ lineString + "]";
	}
}
